__author__ = 'xiaosu'

import os
basedir = os.path.abspath(os.path.dirname(__file__))

SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(basedir, 'octopus.db')


CSRF_ENABLED = True
WTF_CSRF_TIME_LIMIT = 3600
SECRET_KEY = 'fed3x3eji32'
ADMIN_PASSWORD = "suzezhi"
SESSION_COOKIE_NAME = 'octopus'


# http://www.oschina.net/news/29811/10-useful-jquery-popup-plugins/
# http://www.oschina.net/project/
# http://www.oschina.net/project/tag/274/jquery-dialog
# http://sentsin.com/jquery/layer/
# http://www.cnblogs.com/0banana0/archive/2011/09/24/2189385.html
# http://www.phpddt.com/manual/bootstrap/base-css.html#icons
# http://www.baidu.com/#wd=%E9%A2%9C%E8%89%B2%E4%BB%A3%E7%A0%81&rsv_bp=0&tn=baidu&rsv_spt=3&ie=utf-8&rsv_sug3=4&rsv_sug4=142&rsv_sug1=4&oq=yanse&rsv_sug2=0&f=3&rsp=0&inputT=6
#http://www.pythondoc.com/flask-mega-tutorial/followers.html
#http://flask.pocoo.org/extensions/
#https://github.com/yinian1992/flask-login-docs-cn/blob/master/index.rst